package com.api.entity.dto;

import com.api.entity.GlobalEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 岗位表
 * </p>
 *
 * @author author
 * @since 2024-08-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("item")
public class ItemDTO  implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 名称
     */
    private String title;
    private String cateName;
    private String introduction;
    /**
     * 标签
     */
    private String tag;
    /**
     * 图片
     */
    private String img;


    /**
     * 观看
     */
    private Long view;

    private  Integer authorId;
    /**
     * 作者名称
     */
    private  String authorName;


    private  Double score;
    /**
     *收藏量
     */
    private  Long collectNumber;
    /**
     *评分人数
     */
    private  Long ratingsNumber;
}
